<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>亲密关系理论 - 小红书内容页</title>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <style>
        /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            padding: 20px;
        }

        /* 内容页容器 */
        .content-card {
            width: 100%;
            max-width: 400px;
            height: calc(100vw * 16 / 9);
            max-height: 711px;
            margin: 0 auto;
            background-color: #fff;
            border-radius: 24px;
            box-shadow: 0 10px 20px rgba(251, 146, 60, 0.1);
            position: relative;
            overflow: hidden;
        }

        /* 顶部装饰条 */
        .top-bar {
            width: 100%;
            height: 20px;
            background-color: #fb923c;
        }

        /* 内容区域 */
        .content-area {
            padding: 40px 28px;
            height: calc(100% - 20px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .content-title {
            font-size: 34px;
            font-weight: bold;
            color: #333;
            margin-bottom: 35px;
        }

        /* 理论模块 */
        .theory-module {
            margin-bottom: 40px;
        }

        .module-title {
            font-size: 20px;
            font-weight: bold;
            color: #fb923c;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
        }

        .module-title i {
            margin-right: 12px;
            font-size: 22px;
        }

        .module-desc {
            font-size: 16px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 18px;
        }

        /* 公式样式 */
        .formula-box {
            padding: 15px 20px;
            background-color: #fff7ed;
            border-radius: 14px;
            margin-bottom: 18px;
        }

        .formula {
            font-size: 17px;
            font-weight: 500;
            color: #333;
        }

        /* 例子样式 */
        .example {
            font-size: 15px;
            color: #666;
            padding-left: 25px;
            position: relative;
            line-height: 1.5;
        }

        .example::before {
            content: "•";
            color: #fb923c;
            font-weight: bold;
            position: absolute;
            left: 10px;
        }
    </style>
</head>

<body>
    <div class="content-card">
        <div class="top-bar"></div>
        <div class="content-area">
            <h2 class="content-title">亲密关系理论</h2>

            <h3 class="module-title"><i class="fa fa-lightbulb-o"></i>互相依赖理论</h3>
            <p class="module-desc">如何决定是否留存在一段关系中，结果是得失不重要，这取决于两个维度：</p>

            <div class="formula-box">
                <p class="formula">社会比较水平（自身期望）</p>
                <br>
                <p class="formula">结果 - 比较水平= 满意度 / 不满意度</p>
            </div>
            <p class="example">如：和前任相比</p>

            <br>
            <div class="formula-box">
                <p class="formula">替代的社会比较水平（没 Ta 会怎样）</p>
                <br>
                <p class="formula">结果 - 替代社会比较水平 = 依赖 / 独立</p>
            </div>
            <p class="example">是否有小三</p>
        </div>
    </div>
</body>

</html>